package com.jt.www.common.service;

import com.jt.www.common.service.zqsign.param.agreement.Param;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @描述： 君子签（易保全）服务
 * @作者： lq
 * @创建日期： 2020-6-1 11:11
 * @版权： 江泰保险经纪股份有限公司
 */
@Component
public interface JunZiQianService {


    ResponseEntity<?> saveAgreement(Param agreement, HttpServletRequest request, HttpServletResponse response) throws Exception;

    /**
     * 回调
     *
     * @return
     */
    String affirmBack(String method, Long timestamp, String sign, String appkey, String data);
}
